<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GrPPI: iterator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0966d06610f72609fd9aa4979c2b5a92.html">common</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">iterator.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="iterator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright 2018 Universidad Carlos III de Madrid</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#ifndef GRPPI_COMMON_ITERATOR_H</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#define GRPPI_COMMON_ITERATOR_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;tuple&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegrppi.html">grppi</a>{</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">namespace </span>internal {</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> F, <span class="keyword">typename</span> ... Iterators, <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>T, std::size_t ... I&gt;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacegrppi_1_1internal.html#a2746269378d74ae3aff0e39823939956">   27</a></span>&#160;decltype(<span class="keyword">auto</span>) <a class="code" href="namespacegrppi_1_1internal.html#a2746269378d74ae3aff0e39823939956">apply_deref_increment</a>(</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    F &amp;&amp; f, </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    T&lt;Iterators...&gt; &amp; iterators, </div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    std::index_sequence&lt;I...&gt;)</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;  <span class="keywordflow">return</span> std::forward&lt;F&gt;(f)(*std::get&lt;I&gt;(iterators)++...);</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;}</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;} <span class="comment">// namespace internal</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> F, <span class="keyword">typename</span> ... Iterators, <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ...&gt; <span class="keyword">class </span>T&gt;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="namespacegrppi.html#af7cfe906e20c5a128ecd135706d8a749">   58</a></span>&#160;decltype(<span class="keyword">auto</span>) <a class="code" href="namespacegrppi.html#af7cfe906e20c5a128ecd135706d8a749">apply_deref_increment</a>(</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    F &amp;&amp; f, </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    T&lt;Iterators...&gt; &amp; iterators)</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;{</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  constexpr std::size_t size = <span class="keyword">sizeof</span>...(Iterators);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacegrppi_1_1internal.html#a2746269378d74ae3aff0e39823939956">internal::apply_deref_increment</a>(std::forward&lt;F&gt;(f), iterators,</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;      std::make_index_sequence&lt;size&gt;());</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;}</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">namespace </span>internal {</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> F, <span class="keyword">typename</span> ... Iterators, <span class="keyword">template</span> &lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>T,</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;          std::size_t ... I&gt;</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="namespacegrppi_1_1internal.html#a4af84ab9c51d14757e46fb957b220613">   71</a></span>&#160;decltype(<span class="keyword">auto</span>) <a class="code" href="namespacegrppi_1_1internal.html#a4af84ab9c51d14757e46fb957b220613">apply_increment</a>(</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    F &amp;&amp; f,</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    T&lt;Iterators...&gt; &amp; iterators,</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    std::index_sequence&lt;I...&gt;)</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;{</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="keywordflow">return</span> std::forward&lt;F&gt;(f)(std::get&lt;I&gt;(iterators)++...);</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;}</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;}</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> F, <span class="keyword">typename</span> ... Iterators, <span class="keyword">template</span> &lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>T&gt;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="namespacegrppi.html#a512458b88dc7cff2cf36100c2e26f931">  101</a></span>&#160;decltype(<span class="keyword">auto</span>) <a class="code" href="namespacegrppi.html#a512458b88dc7cff2cf36100c2e26f931">apply_increment</a>(</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    F &amp;&amp; f,</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    T&lt;Iterators...&gt; &amp; iterators) </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;{</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  constexpr std::size_t size = <span class="keyword">sizeof</span>...(Iterators);</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacegrppi_1_1internal.html#a4af84ab9c51d14757e46fb957b220613">internal::apply_increment</a>(std::forward&lt;F&gt;(f), iterators,</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;      std::make_index_sequence&lt;size&gt;());</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;}</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="keyword">namespace </span>internal {</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> F, <span class="keyword">typename</span> T, std::size_t ... I&gt;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="namespacegrppi_1_1internal.html#ad0438131647e81da96b47b9d42c08520">  113</a></span>&#160;decltype(<span class="keyword">auto</span>) <a class="code" href="namespacegrppi_1_1internal.html#ad0438131647e81da96b47b9d42c08520">apply_iterators_indexed_impl</a>(F &amp;&amp; f, T &amp;&amp; t, std::<span class="keywordtype">size_t</span> i,</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    std::index_sequence&lt;I...&gt;)</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;{</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <span class="keywordflow">return</span> std::forward&lt;F&gt;(f)(std::get&lt;I&gt;(t)[i]...);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;} <span class="comment">// namespace internal</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> F, <span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="namespacegrppi.html#ae2cebb801cfe8aeed12ff8d90c3b9dd0">  142</a></span>&#160;decltype(<span class="keyword">auto</span>) <a class="code" href="namespacegrppi.html#ae2cebb801cfe8aeed12ff8d90c3b9dd0">apply_iterators_indexed</a>(F &amp;&amp; f, T &amp;&amp; t, std::<span class="keywordtype">size_t</span> i)</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;{</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="keyword">using</span> tuple_raw_type = std::decay_t&lt;T&gt;;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  constexpr std::size_t size = std::tuple_size&lt;tuple_raw_type&gt;::value;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacegrppi_1_1internal.html#ad0438131647e81da96b47b9d42c08520">internal::apply_iterators_indexed_impl</a>(std::forward&lt;F&gt;(f), </div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;      std::forward&lt;T&gt;(t), i, std::make_index_sequence&lt;size&gt;());</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;}</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keyword">namespace </span>internal {</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, std::size_t ... I&gt;</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="namespacegrppi_1_1internal.html#a88826a89af58db4f4f1ba7f94f9f6680">  153</a></span>&#160;<span class="keyword">auto</span> <a class="code" href="namespacegrppi_1_1internal.html#a88826a89af58db4f4f1ba7f94f9f6680">iterators_next_impl</a>(T &amp;&amp; t, <span class="keywordtype">int</span> n, std::index_sequence&lt;I...&gt;) {</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  <span class="keywordflow">return</span> make_tuple(</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    std::next(std::get&lt;I&gt;(t), n)...</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;  );</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;}</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;} <span class="comment">// namespace internal</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="namespacegrppi.html#ab39b26ce38bba1d96af530ebcd807693">  170</a></span>&#160;<span class="keyword">auto</span> <a class="code" href="namespacegrppi.html#ab39b26ce38bba1d96af530ebcd807693">iterators_next</a>(T &amp;&amp; t, <span class="keywordtype">int</span> n) {</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;  <span class="keyword">using</span> tuple_raw_type = std::decay_t&lt;T&gt;;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;  constexpr std::size_t size = std::tuple_size&lt;tuple_raw_type&gt;::value;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacegrppi_1_1internal.html#a88826a89af58db4f4f1ba7f94f9f6680">internal::iterators_next_impl</a>(std::forward&lt;T&gt;(t), n,</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;      std::make_index_sequence&lt;size&gt;());</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;}</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ... InputIt&gt;</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="namespacegrppi.html#aebb399413900573b062b5fa6959e81fa">  183</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacegrppi.html#aebb399413900573b062b5fa6959e81fa">advance_iterators</a>(<span class="keywordtype">size_t</span> delta, InputIt &amp; ... in) {</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;  <span class="comment">// This hack can be done in C++14.</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;  <span class="comment">// It can be simplified in C++17 with folding expressions.</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;  <span class="keyword">using</span> type = <span class="keywordtype">int</span>[];</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;  type { 0, (in += delta, 0) ...};</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;} </div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ... InputIt&gt;</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="namespacegrppi.html#a4c3941104532421e41db70942ea0d5bf">  193</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacegrppi.html#aebb399413900573b062b5fa6959e81fa">advance_iterators</a>(InputIt &amp; ... in) {</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;  <span class="comment">// This hack can be done in C++14.</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;  <span class="comment">// It can be simplified in C++17 with folding expressions.</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;  <span class="keyword">using</span> type = <span class="keywordtype">int</span>[];</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;  type { 0, (in++, 0) ...};</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;} </div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;} <span class="comment">// namespace grppi</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="anamespacegrppi_1_1internal_html_a2746269378d74ae3aff0e39823939956"><div class="ttname"><a href="namespacegrppi_1_1internal.html#a2746269378d74ae3aff0e39823939956">grppi::internal::apply_deref_increment</a></div><div class="ttdeci">decltype(auto) apply_deref_increment(F &amp;&amp;f, T&lt; Iterators... &gt; &amp;iterators, std::index_sequence&lt; I... &gt;)</div><div class="ttdef"><b>Definition:</b> iterator.h:27</div></div>
<div class="ttc" id="anamespacegrppi_1_1internal_html_a4af84ab9c51d14757e46fb957b220613"><div class="ttname"><a href="namespacegrppi_1_1internal.html#a4af84ab9c51d14757e46fb957b220613">grppi::internal::apply_increment</a></div><div class="ttdeci">decltype(auto) apply_increment(F &amp;&amp;f, T&lt; Iterators... &gt; &amp;iterators, std::index_sequence&lt; I... &gt;)</div><div class="ttdef"><b>Definition:</b> iterator.h:71</div></div>
<div class="ttc" id="anamespacegrppi_1_1internal_html_a88826a89af58db4f4f1ba7f94f9f6680"><div class="ttname"><a href="namespacegrppi_1_1internal.html#a88826a89af58db4f4f1ba7f94f9f6680">grppi::internal::iterators_next_impl</a></div><div class="ttdeci">auto iterators_next_impl(T &amp;&amp;t, int n, std::index_sequence&lt; I... &gt;)</div><div class="ttdef"><b>Definition:</b> iterator.h:153</div></div>
<div class="ttc" id="anamespacegrppi_1_1internal_html_ad0438131647e81da96b47b9d42c08520"><div class="ttname"><a href="namespacegrppi_1_1internal.html#ad0438131647e81da96b47b9d42c08520">grppi::internal::apply_iterators_indexed_impl</a></div><div class="ttdeci">decltype(auto) apply_iterators_indexed_impl(F &amp;&amp;f, T &amp;&amp;t, std::size_t i, std::index_sequence&lt; I... &gt;)</div><div class="ttdef"><b>Definition:</b> iterator.h:113</div></div>
<div class="ttc" id="anamespacegrppi_html"><div class="ttname"><a href="namespacegrppi.html">grppi</a></div><div class="ttdef"><b>Definition:</b> callable_traits.h:21</div></div>
<div class="ttc" id="anamespacegrppi_html_a512458b88dc7cff2cf36100c2e26f931"><div class="ttname"><a href="namespacegrppi.html#a512458b88dc7cff2cf36100c2e26f931">grppi::apply_increment</a></div><div class="ttdeci">decltype(auto) apply_increment(F &amp;&amp;f, T&lt; Iterators... &gt; &amp;iterators)</div><div class="ttdoc">Applies a callable object to the iterators in a tuple like-object and the increments those iterators....</div><div class="ttdef"><b>Definition:</b> iterator.h:101</div></div>
<div class="ttc" id="anamespacegrppi_html_ab39b26ce38bba1d96af530ebcd807693"><div class="ttname"><a href="namespacegrppi.html#ab39b26ce38bba1d96af530ebcd807693">grppi::iterators_next</a></div><div class="ttdeci">auto iterators_next(T &amp;&amp;t, int n)</div><div class="ttdoc">Computes next n steps from a tuple of iterators.</div><div class="ttdef"><b>Definition:</b> iterator.h:170</div></div>
<div class="ttc" id="anamespacegrppi_html_ae2cebb801cfe8aeed12ff8d90c3b9dd0"><div class="ttname"><a href="namespacegrppi.html#ae2cebb801cfe8aeed12ff8d90c3b9dd0">grppi::apply_iterators_indexed</a></div><div class="ttdeci">decltype(auto) apply_iterators_indexed(F &amp;&amp;f, T &amp;&amp;t, std::size_t i)</div><div class="ttdoc">Applies a callable object to the values obtained from the iterators in a tuple by indexing....</div><div class="ttdef"><b>Definition:</b> iterator.h:142</div></div>
<div class="ttc" id="anamespacegrppi_html_aebb399413900573b062b5fa6959e81fa"><div class="ttname"><a href="namespacegrppi.html#aebb399413900573b062b5fa6959e81fa">grppi::advance_iterators</a></div><div class="ttdeci">void advance_iterators(size_t delta, InputIt &amp;... in)</div><div class="ttdef"><b>Definition:</b> iterator.h:183</div></div>
<div class="ttc" id="anamespacegrppi_html_af7cfe906e20c5a128ecd135706d8a749"><div class="ttname"><a href="namespacegrppi.html#af7cfe906e20c5a128ecd135706d8a749">grppi::apply_deref_increment</a></div><div class="ttdeci">decltype(auto) apply_deref_increment(F &amp;&amp;f, T&lt; Iterators... &gt; &amp;iterators)</div><div class="ttdoc">Applies a callable object to the values obtained from the iterators in a tuple-like object....</div><div class="ttdef"><b>Definition:</b> iterator.h:58</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
